package com.zx.mes.hyl.properties;

import lombok.Getter;
import lombok.Setter;

/**
 * rabbitmq exchange 配置项
 * @author 华云龙
 * @date 2018-8-7
 */
@Setter
@Getter
public class RabbitmqExchangeProperties {

    /**
     * 交换机名称
     */
    private String exchange;

    /**
     * 交换机是否持久化
     */
    private boolean durable=RabbitmqConstants.DEFAULT_RABBIT_MQ_EXCHANGE_DURABLE;

    /**
     * 交换机类型
     */
    private String type = RabbitmqConstants.DEFAULT_RABBIT_MQ_EXCHANGE_TYPE;

    /**
     * 声明交换机时是否忽略异常
     */
    private boolean ignoreDeclarationExceptions = RabbitmqConstants.DEFAULT_RABBIT_MQ_EXCHANGE_IGNORE_DECLARATION_EXCEPTIONS;

}
